//
//  JHSUserinfoModel.h
//  JHSSweep
//  保存用户信息的模型
//  Created by 卢春晖 on 2017/3/25.
//  Copyright © 2017年 JHDS. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface JHSUserinfoModel : NSObject<NSCoding>
@property(nonatomic,strong)JHSUserinfoModel *model;
@property(nonatomic,strong)NSDictionary *userDic;

/**
 用户的姓名
 */
@property(nonatomic,copy)NSString *true_name;
//用户的年龄
@property(nonatomic,assign)NSInteger age;

/**
 用户的身高
 */
@property(nonatomic,assign)CGFloat height;

/**
 用户的体重
 */
@property(nonatomic,assign)CGFloat weight;

/**
 用户的籍贯
 */
@property(nonatomic,copy)NSString *address;

/**
 用户的联系方式
 */
@property(nonatomic,copy)NSString *mobile_number;

/**
 用户的证件号码
 */
@property(nonatomic,copy)NSString *card_number;
//多余的
@property(nonatomic,copy)NSString *province_id;
@property(nonatomic,assign)NSInteger county_id;
@property(nonatomic,copy)NSString *city_id;
@property(nonatomic,assign)NSInteger *is_certify;
@property(nonatomic,copy)NSString *login_token;
@property(nonatomic,copy)NSString *associate_id;
@property(nonatomic,copy)NSString *easymob_id;
@property(nonatomic,copy)NSString *head_photo;



//密码
@property(nonatomic,strong)NSString *easymob_password;
//账号
@property(nonatomic,strong)NSString *user_id;


/**
 用户的性别
 */
@property(nonatomic,assign)NSInteger gender;

- (instancetype)initWithDict:(NSDictionary *)dict;
//

/*
 登入成功
 2017-03-25 15:09:32.275 JHSSweep[10197:193058] {
	msg = OK;
	data = {
	gender = 1;  *
	mobile_number = 13269130063;*
	province_id = 370000;*
	county_id = 0;*
	age = 28; *
	user_id = 1000089;*
	true_name = 王云财;*
	weight = 156.0;*
	city_id = 0;*
	is_certify = 1;*
	address = 山东省;*
	card_type = 1;*
	easymob_password = 123456;*
	associate_id = <null>;*
	login_token = 321017f8952c7a60fd626c470dd452b9;*
	easymob_id = u1000089;*
	head_photo = http://hdkj-web1.chinacloudapp.cn:8080/res/1071000089-1451374760656.png;*
	card_number = 110109198707061355;*
	height = 185.0;*
 }
 ;
	code = 0;
 }

 */
@end
